package Interface.Interface1;

public class useinterface1 {
    public static void main(String[] args) {
        //Interface1 inter = new Interface1() ;错误写法
        Interface1Impl impl = new Interface1Impl();
        impl.method1();
        impl.method2();
    }
}
